import { lazy ,Suspense} from "react"
import Loading from "../component/Loading/Loading"
let MyNews = lazy(() => import("../view/Index/News/MyNews"))

let News: any = [
    {
        path: "/index/news",
        element: <Suspense fallback={<Loading/>}><MyNews /></Suspense>
    },
]
export default News